package com.jian.mall.produce.dao;

import com.jian.mall.produce.entity.CategoryBrandRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 品牌分类关联
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2022-08-17 13:22:53
 */
@Mapper
public interface CategoryBrandRelationDao extends BaseMapper<CategoryBrandRelationEntity> {
    void updateByCatId(@Param("catId")Long catId,@Param("name") String name);

    void updateByBrandId(@Param("brandId") Long brandId,@Param("name") String name);
}
